package cn.slipi.pan.web.service;

import cn.slipi.pan.web.entity.AuthEntity;
import cn.slipi.pan.web.mapper.AuthMapper;
import org.apache.ibatis.solon.annotation.Db;
import org.noear.solon.annotation.Component;

/**
 * license服务
 */
@Component
public class AuthService {

    @Db
    private AuthMapper authMapper;

    public AuthEntity getAuthByLicense(String license) {
        return authMapper.queryByLicense(license);
    }
}
